<include file="Public:header"/>
<div id="nav" class="mainnav_title">
	<ul>
		<a href="<{:U('Goods/index')}>">内容列表</a>
		<a href="<{:U('Goods/add')}>" class="on">发布内容</a>
	</ul>
</div>
<form id="myform" method='post' name="login" action="<{:U('Goods/addto')}>" enctype="multipart/form-data">
	<table cellpadding=0 cellspacing=0 class="table_form" width="100%">
		<tr>
			<td width="15%">商品分类:</td>
			<td><select name="cat_id">
				<option value ="49">生鲜市场</option>
				<option value ="50">日常生活</option>
				<option value ="51">洗护用品</option>
				<option value ="52">食品饮料</option>
				<option value ="53">生活电器</option>
			</select></td>
		</tr>
		<tr>
			<td width="15%">商品编码:</td>
			<td><input type="text" class="input-text" name="goods_sn" size="30"/></td>
		</tr>
		<tr>
			<td width="15%">商品名称:</td>
			<td><input type="text" class="input-text" name="goods_name" size="30"/></td>
		</tr>
		<tr>
			<td width="15%">商品描述:</td>
			<td><textarea rows="10" cols="80" name="goods_desc" validate="required:true"></textarea></td>
		</tr>
		<tr>
			<td width="15%">商品市场售价</td>
			<td><input type="text" class="input-text" name="market_price" size="60"/> <font color="red"></font></td>
		</tr>
		<tr>
			<td width="15%">商品本店售价</td>
			<td><input type="text" class="input-text" name="shop_price" size="60"/> <font color="red"></font></td>
		</tr>
		<tr>
			<td width="15%">商品促销售价</td>
			<td><input type="text" class="input-text" name="promote_price" size="60"/> <font color="red"></font></td>
		</tr>
		<tr>
			<td width="15%">图片:</td>
			<td><input type="file" name="goods_img"/></td>
		</tr>
		<tr>
			<td width="15%">是否热销:</td>
			<td><input type="checkbox" name="is_hot" onclick="this.value=this.checked?'1':'0'" /> </td>
		</tr>
		<tr>
			<td width="15%">是否新品:</td>
			<td><input name="is_new" type="checkbox" onclick="this.value=this.checked?'1':'0'" /></td>
		</tr>
		<tr>
			<td width="15%">数量:</td>
			<td><input type="text" class="input-text" name="goods_number" size="40"/></td>
		</tr>
		
	</table>
	<div class="btn">
		<input TYPE="submit" name="dosubmit" value="提交" class="button" />
		<input type="reset" value="取消" class="button" />
	</div>
</form>
</body>
</html>
